<td><input type="text" name='grade["grade"][]' class="input-text text-c" value="{$key}"></td>
<td><input type="text" name='grade["exppoints"][]' class="input-text text-c" value="{$val}"></td>